﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TagList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.TagList" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" class="pageForm" runat="Server">
<%=_framePage.TabInfoHtml()%>

<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
		<%--	<li>
			    <span>商品名称&nbsp;</span>
			    <asp:TextBox ID="tb_search_name" runat="server" cond="name" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
			<li>
			    <span>商品代码&nbsp;</span>
				<asp:TextBox ID="tb_search_productno" runat="server" cond="productno" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
			<li>
			    <span>状态&nbsp;</span>
				<asp:dropdownlist runat="server" ID="ddl_status" cond="status" ctltype="dropdownlist" width="150px">
                </asp:dropdownlist>
			</li>--%>
		</ul>
	    <div class="subBar">
			<ul>
			<%--<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;检&nbsp;索&nbsp;</span></a>&nbsp;&nbsp;
			</li>--%>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href='/SystemManage/Basics/shop/TagInfo/TagEdit.aspx' target="navTab" rel="addtag" title="标签-增加"><span>添加</span></a></li>
             <li><a class="delete" href="/SystemManage/Basics/shop/taginfo/tagDelete.aspx?ajax=dels" target="selectedTodo" title="请确定要删除"><span>删除勾选</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="115">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="8%">ID</th>
				<th width="8%">缩略图</th>
				<th width="8%">标签名称</th>
				<th width="8%">标签内部名称</th>
				<th width="18%">内容</th>
                <th width="15%">使用时间</th>
				<th width="15%">备注</th>
                <th width="10%">状态</th>
				<th width="10%">操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="grid">
                <ItemTemplate>
			    <tr target="uid" rel='<%# Eval("Id")%>'>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td><span><%# Eval("Id")%></td>
				    <td><img src="<%# FileKit.FirstFilePath(Eval("PhotoUrl").ToString()) %>" alt="" width="80px" /></td>
				    <td><%# Eval("TagName")%></td>
				    <td><%# Eval("TagInternalName")%></td>
				    <td><%# Eval("Content")%></td>
                        <td><%# Eval("BeginUseTime").ToString()+"-"+Eval("EndUseTime") as string %></td>
				    <td><%# Eval("Remark") %></td>
                    <td><%# ParamKit.GetValue("ProductTagStatus",Eval("Status") as string,"")%></td>
				    <td> 
				        <a href="/SystemManage/Basics/shop/TagInfo/TagEdit.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" title="标签-编辑" rel="editptmember">编辑</a>&nbsp;&nbsp;
                      <a href="/SystemManage/Basics/shop/taginfo/tagdelete.aspx?uid=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除">删除</a>&nbsp;&nbsp;
                       
                       
                       <a href="/SystemManage/Basics/shop/taginfo/tagproductlist.aspx?uid=<%# Eval("Id")%>" target="navTab" title="设置产品标签">设置产品标签</a>&nbsp;&nbsp;
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
</div>	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>